﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using ShopCartOnline.Models;
using System.Data.Entity.ModelConfiguration.Conventions;

namespace ShopCartOnline.Models
{
    public class ShopCartDbContext : DbContext
    {
        public ShopCartDbContext()
            : base("name=ShopCartDbContext")
        { }
        public DbSet<NhaSanXuat> NhaSanXuats { set; get; }
        public DbSet<DanhMucSanPham> DanhMucSanPhams { set; get; }
        public DbSet<SanPham> SanPhams { set; get; }
    }
}